<template>
  <div class="mod-user">
    <el-form :label-position="labelPosition" label-width="80px" :model="formLabelAlign">
      <el-form-item label="名称">
        <el-input v-model="formLabelAlign.name"></el-input>
      </el-form-item>
      <el-form-item label="训练比重">
        <el-select v-model="formLabelAlign.region" placeholder="请选择训练比重">
          <el-option label="90%" value="shanghai"></el-option>
          <el-option label="80%" value="beijing"></el-option>
          <el-option label="70%" value="beijing"></el-option>
          <el-option label="60%" value="beijing"></el-option>
          <el-option label="50%" value="beijing"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="矩阵分解秩">
        <el-select v-model="formLabelAlign.region" placeholder="请选择矩阵分解秩数">
          <el-option label="8" value="shanghai"></el-option>
          <el-option label="7" value="beijing"></el-option>
          <el-option label="6" value="beijing"></el-option>
          <el-option label="5" value="beijing"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="正则系数">
        <el-select v-model="formLabelAlign.region" placeholder="请选择正则系数">
          <el-option label="区域一" value="shanghai"></el-option>
          <el-option label="区域二" value="beijing"></el-option>
        </el-select>
      </el-form-item>
      <el-form-item label="循环次数">
        <el-select v-model="formLabelAlign.region" placeholder="请选择活动区域">
          <el-option label="区域一" value="shanghai"></el-option>
          <el-option label="区域二" value="beijing"></el-option>
        </el-select>
      </el-form-item>
    </el-form>
  </div>
</template>
<style>
  .el-select .el-input {
    width: 130px;
  }
  .input-with-select .el-input-group__prepend {
    background-color: #fff;
  }
</style>
<script>
  import API from '@/api'
  export default {
    data () {
      return {
        labelPosition: 'right',
        form: {
          path: '',
          tranprecent: '',
          rankValue: '',
          lambdaValue: '',
          numItersValue: ''
        }
      }
    },
    methods:
    {
      // 获取数据列表
      train () {
        this.dataListLoading = true
        API.movie.offTrain(this.form).then(({data}) => {
        })
      }
    }
  }
</script>
